package br.ufrgs.inf.engsoft.stp.ui;

import com.vaadin.ui.Label;

@SuppressWarnings("serial")
public class HTMLabel extends Label {
	
	public static final int BOLD = 1;
	
	public HTMLabel() {
		setContentMode(Label.CONTENT_XHTML);
	}
	
	public void setValue(String value, int type) {
		switch (type) {
			case BOLD :
				super.setValue("<b>" + value + "</b>");
			default:
		}
	}
}
